.sidebar {
  width: 250px;
  background-color: #2a2a2a;
  color: white;
  height: 100vh;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 30px;
}

.logo img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.menu-group {
  margin-bottom: 10px;
}

.menu-header {
  padding: 10px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.menu-header:hover {
  background-color: #3a3a3a;
}

.arrow {
  border: solid white;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.3s;
}

.menu-group.collapsed .arrow {
  transform: rotate(-45deg);
}

.menu-group.collapsed .submenu {
  display: none;
}

.submenu {
  padding-left: 20px;
}

.menu-item {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.3s;
}

.menu-item:hover {
  background-color: #3a3a3a;
}

.menu-item.active {
  background-color: #007bff;
}
